//
// Description: 5851. 找出不同的二进制字符串
// Created by Loading on 2021/8/22.
//

#include <bits/stdc++.h>

using namespace std;

string findDifferentBinaryString(vector<string> &nums) {
    // 与第 i 个字符串的第 i 位不同，结果一定与每一个字符串都不相同
    string res;
    for (int i = 0; i < nums.size(); ++i) {
        if (nums[i][i] == '1') {
            res += '0';
        } else {
            res += '1';
        }
    }

    return res;
}

int main() {
    vector<string> nums = {"111", "011", "001"};
    string res = findDifferentBinaryString(nums);
    cout << res << endl;
    return 0;
}